module.exports = {
  publicPath: "./",
  devServer: {  //配置跨域
    proxy: {
        '/api': {
            target: 'http://localhost:8088/',  
            changOrigin: true,  //允许跨域
            pathRewrite: {
              '^/api': '' 
            }
          },
    }
  }
}